package com.why.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class adminController {
    //判断是否是管理员
    @RequestMapping("/admin/jurisdiction")
    public String jurisdiction(){
        return "success";
    }

    //判断是否登录
    @RequestMapping("/time")
    public String time(){
        System.out.println("-----------------拦截器------------------");
        return "success";
    }
}
